package com.ys.entity.eKnowAi;

import java.util.Date;
import javax.persistence.Table;
import com.ys.annotation.YsField;
import com.ys.entity.base.BaseEntity;
/**
*/
@Table(name="[kjecp_eknow].[dbo].EKnow_Scene_PromptKey", catalog="Id")
public class EKnowScenePromptKey extends BaseEntity<EKnowScenePromptKey> {

	@YsField(nameDataBase="Id", nameJava="id", typeDataBase="bigint")
	private Long id;
	@YsField(nameDataBase="KeyId", nameJava="keyId", typeDataBase="bigint")
	private Long keyId;
	@YsField(nameDataBase="SceneId", nameJava="sceneId", typeDataBase="bigint")
	private Long sceneId;
	@YsField(nameDataBase="KeyValue", nameJava="keyValue", typeDataBase="text")
	private String keyValue;
	@YsField(nameDataBase="Status", nameJava="status", typeDataBase="tinyint")
	private Integer status;
	@YsField(nameDataBase="CreateTime", nameJava="createTime", typeDataBase="datetime")
	private Date createTime;
	@YsField(nameDataBase="UpdateTime", nameJava="updateTime", typeDataBase="datetime")
	private Date updateTime;

	public Long getId() {
		return id;
	}
	public EKnowScenePromptKey setId(Long id) {
		this.id = id;
		return this;
	}
	public Long getKeyId() {
		return keyId;
	}
	public EKnowScenePromptKey setKeyId(Long keyId) {
		this.keyId = keyId;
		return this;
	}
	public Long getSceneId() {
		return sceneId;
	}
	public EKnowScenePromptKey setSceneId(Long sceneId) {
		this.sceneId = sceneId;
		return this;
	}
	public String getKeyValue() {
		return keyValue;
	}
	public EKnowScenePromptKey setKeyValue(String keyValue) {
		this.keyValue = keyValue;
		return this;
	}
	public Integer getStatus() {
		return status;
	}
	public EKnowScenePromptKey setStatus(Integer status) {
		this.status = status;
		return this;
	}
	public Date getCreateTime() {
		return createTime;
	}
	public EKnowScenePromptKey setCreateTime(Date createTime) {
		this.createTime = createTime;
		return this;
	}
	public Date getUpdateTime() {
		return updateTime;
	}
	public EKnowScenePromptKey setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
		return this;
	}

	public static EKnowScenePromptKey eKnowScenePromptKey(
		Long keyId,
		Long sceneId,
		String keyValue,
		Integer status
			) {
		EKnowScenePromptKey entity = new EKnowScenePromptKey();
		entity.setKeyId(keyId);
		entity.setSceneId(sceneId);
		entity.setKeyValue(keyValue);
		entity.setStatus(status);
		return entity;
	}
}